#ifndef IMAGE_DISPLAY_H
#define IMAGE_DISPLAY_H

#include <wx/panel.h>
#include <wx/dcclient.h>
#include <wx/image.h>
#include <wx/bitmap.h>
#include "../../../src/PixelFormat.h"

class ImageDisplay : public wxPanel
{
public:
    ImageDisplay(wxWindow* parent);
    void showImage(unsigned char* image,int height,int width,pixelFormat format);
private:
    void OnPaint(wxPaintEvent& event);
    wxImage oImage;
};

#endif
